package com.unittec.zk.sdk.work.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * 完成进度 请求实体
 *
 * @author wangyongfeng
 * @date 2021/12/24
 */
@ApiModel("完成进度 请求实体")
@Data
public class Req202023 implements Serializable {

    private static final long serialVersionUID = 7534946677429114420L;

    @ApiModelProperty(value = "主键id", required = true)
    @NotBlank(message = "id不为空")
    private String id;

    @ApiModelProperty(value = "进度",required = true)
    @Min(value = 0, message = "进度在1—100之间")
    @Max(value = 100, message = "进度在1—100之间")
    private Integer progress;

    @ApiModelProperty(value = "汇报内容", required = true)
    @NotBlank(message = "汇报内容不为空")
    private String content;
}